scrollbarWidth
Type
property
Summary
Specifies the width of the scrollbar associated with a scrolling field or group.
Syntax
set the scrollbarWidth of {<field> | <group>} to <pixels>
Description
Use the scrollbarWidth property to specify how much of a scrolling field's or group's width is taken up by the vertical scrollbar.
Setting a field's or group's vScrollbar or hScrollbar property to true changes its scrollbarWidth to 16 on Mac OS systems, and to 20 on Unix and Windows systems.
If a field's vScrollbar is false and its style is not scrolling, its scrollbarWidth property has no effect. If a group's vScrollbar is false, its scrollbarWidth has no effect.
On Mac OS systems with the native theme enabled, scrollbars can only be rendered at certain widths and will be padded with the background color to achieve the chosen width.
Examples
set the scrollbarWidth of the last field to 20
Related
command: group
glossary: object, property, Unix, Windows, Mac OS, group
object: field
property: hScrollbar, style, vScroll, width, vScrollbar
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile